﻿namespace SqlSugarRedisDemo.Models
{
    /// <summary>
    /// 自定义配置
    /// </summary>
    public class Connection
    {
        /// <summary>
        /// 数据库标识 唯一
        /// </summary>
        public string ConnectionId { get; set; }

        /// <summary>
        /// 数据库类型
        /// </summary>
        public int DbType { get; set; }

        /// <summary>
        /// 是否启用
        /// </summary>
        public bool Enabled { get; set; }

        /// <summary>
        /// 数据库连接字符串
        /// </summary>
        public string ConnectionString { get; set; }
    }
}
